package com.hrcx.mystery.pojo;

import javax.validation.constraints.NotNull;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author LinXiPeng
 * @TableName eb_mystery_pond_record
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "盲盒周期累计记录", description = "暂无描述")
public class EbMysteryPondRecord implements Serializable {

    private static final long serialVersionUID = -5999973401916917424L;
    /**
     * 记录编号
     */
    @NotNull(message = "[记录编号]不能为空")
    @ApiModelProperty("记录编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 盲盒编号
     */
    @NotNull(message = "[盲盒编号]不能为空")
    @ApiModelProperty("盲盒编号")
    private Integer bid;
    /**
     * 累计重置前的奖池金额
     */
    @NotNull(message = "[累计重置前的奖池金额]不能为空")
    @ApiModelProperty("累计重置前的奖池金额")
    private BigDecimal beforeSum;
    /**
     * 累计重置后的奖池金额
     */
    @NotNull(message = "[累计重置后的奖池金额]不能为空")
    @ApiModelProperty("累计重置后的奖池金额")
    private BigDecimal afterSum;
    /**
     * 重计时间
     */
    @NotNull(message = "[重计时间]不能为空")
    @ApiModelProperty("重计时间")
    private Date resettime;
}
